Linux, FreeBSD, and Windows common commands

I use Linux Mint, TrueNAS (FreeBSD), pfsense (BSD), Ubuntu, and Windows. I have a hard time remembering every command for each OS. Fortunately most freebsd and linux commands are the same but not all.  So I slowly add to this table over time.

Linux

FreeBSD

Windows

Description

lspcipciconfDevice Managerview hardware (pci) devices
lslsdir or lsDirectory Listing. ‘ls’ for windows
hdparm -IdiskinfoShow harddrive model info
apt-get install pkg_add -r Package downloader
 free *free or topTask ManagerShow memory usage
 wget fetchInvoke-WebRequestDownload file from web
routenetstat -rroute printList network routes
lsoffstatResource MonitorView open files on system

Leave a Reply